#ifndef MYTRAYICON_HPP
#define MYTRAYICON_HPP

#include <QIcon>
#include <QMenu>
#include <QString>
#include <QSystemTrayIcon>

class MyTrayIcon : public QSystemTrayIcon
{
    Q_OBJECT

public:
    explicit MyTrayIcon();

public slots:
    void showBrowser(QAction*);

private:
    void createContextMenu();
    QMenu menu;
    QString news;
};

#endif // MYTRAYICON_HPP
